import request from '@/utils/request';

// 无限拉群-列表
export function getUnlimitedPullList(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/list',
        method: 'POST',
        data,
        noNeedLoading: true
    });
}
// 无限拉群-新建/编辑
export function createUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/create',
        method: 'POST',
        data
    });
}
// 无限拉群-查看
export function lookUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/show',
        method: 'POST',
        data
    });
}
// 无限拉群-批量下载
export function downloadUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/download',
        method: 'POST',
        data
    });
}
// 无限拉群-批量开始
export function startUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/patch-start',
        method: 'POST',
        data,
        noNeedLoading: true
    });
}
// 无限拉群-批量结束
export function stopUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/patch-stop',
        method: 'POST',
        data,
        noNeedLoading: true
    });
}
// 无限拉群-批量删除
export function delUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/patch-del',
        method: 'POST',
        data,
        noNeedLoading: true
    });
}
// 无限拉群-统计
export function statisticsUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/statistics',
        method: 'POST',
        data
    });
}
// 无限拉群-统计_邀请记录
export function infiniteUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/invitation-log',
        method: 'POST',
        data
    });
}
// 无限拉群-统计_邀请记录_导出
export function exportUnlimitedPull(data: any) {
    return request({
        url: '/scrm-api/console/customer/group/infinite/invitation-log-export',
        method: 'POST',
        data
    });
}
